using Mvc.Mailer;
using ATHTaskList2012.Security;

namespace ATHTaskList2012.Mailers
{ 
    public class UserMailer : MailerBase, IUserMailer 	
	{
		public UserMailer()
		{
			MasterName="_Layout";
		}
		
		public virtual MvcMailMessage ForgottenTask()
		{
			//ViewBag.Data = someObject;
			return Populate(x =>
			{
				x.Subject = "Forgotten Task";
                x.ViewName = "ForgottenTask";
                x.To.Add("athtasklist2012@gmail.com");
			});
		}
 	}
}